package com.hsq.commons.util.html;




import org.springframework.context.MessageSource;

public class UrlHtmlUtil    {
	
	private static String[] s ={
		"index.do",
		"brand.do",
		"media.do",
		"profession.do",
		"factory.do",
		"brandnews.do",
		"kedu.do"};
	
	private static String[] h ={
		"index.html",
		"brand.html",
		"media.html",
		"profession.html",
		"factory.html",
		"brandnews.html",
		"kedu.html"};
	
    
	
	private static  MessageSource messageSource;
	
	public static  String showUrl(int i){
//		String isHtml = messageSource.getMessage("isHtml", null, null);
//		if(isHtml!=null && isHtml.equals("1"))
//			return h[i];
//		else
			return s[i];
	}
	
	public  String shows(int i){
			return s[i];
	}

	
	public  void main(String[] args){
		System.out.print(s[1]);
	}
	

}
